Optimal. Leaf size=21 \[ -\frac{2 \sin (c+d x) \cos ^{\frac{3}{2}}(c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0228646, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.043, Rules used = {3011} \[ -\frac{2 \sin (c+d x) \cos ^{\frac{3}{2}}(c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin{align*} \int \sqrt{\cos (c+d x)} \left (3-5 \cos ^2(c+d x)\right ) \, dx &=-\frac{2 \cos ^{\frac{3}{2}}(c+d x) \sin (c+d x)}{d}\\ \end{align*}
Mathematica [A] time = 0.0559298, size = 23, normalized size = 1.1 \[ -\frac{\sin (2 (c+d x)) \sqrt{\cos (c+d x)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.698, size = 99, normalized size = 4.7 \begin{align*} -4\,{\frac{\sqrt{ \left ( 2\, \left ( \cos \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\cos \left ( 1/2\,dx+c/2 \right ) \sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}+ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{2\, \left ( \cos \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}}{\sin \left ( 1/2\,dx+c/2 \right ) d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int{\left (5 \, \cos \left (d x + c\right )^{2} - 3\right )} \sqrt{\cos \left (d x + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.58204, size = 51, normalized size = 2.43 \begin{align*} -\frac{2 \, \cos \left (d x + c\right )^{\frac{3}{2}} \sin \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -{\left (5 \, \cos \left (d x + c\right )^{2} - 3\right )} \sqrt{\cos \left (d x + c\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]